// $Id: filedistributor.h 72 2004-12-02 15:03:28Z jonas $
#ifndef FILEDISTRIBUTOR_H
#define FILEDISTRIBUTOR_H

#include <list>
#include "node.h"
#include "filehandler.h"

/**
 * This is a base class for methods how to booststrap file distribution on nodes.
 */
class FileDistributor
{
public:
	FileDistributor(std::list<Node *> *nodes) : m_nodes(nodes) {}
	virtual void distribute() = 0;

protected:
	std::list<Node *> *m_nodes;
};

#endif
